package com.itheima.mapper;

import com.github.pagehelper.PageInfo;
import com.itheima.bean.News;
import org.apache.ibatis.annotations.Select;


import java.util.List;

public interface NewsMapper {

    /*
        查询全部
     */
    @Select("SELECT * FROM news")
    List<News> fingAll();

}
